<?php if (!defined('THINK_PATH')) exit();?>
<div class="wst-tab_box"  id="priceTab">
    <ul class="wst-tab-nav">
        <li>周一</li>
        <li>周二</li>
        <li>周三</li>
        <li>周四</li>
        <li>周五</li>
        <li>周六</li>
        <li>周日</li>
    </ul>
    <div class="wst-tab-content priceTabContent" goodsId="<?php echo ($goodsId); ?>" style="height:200px;overflow-y: auto;width:700px;">
        <div class="wst-tab-item" style="position: relative;style='display:none'">
            <!--<div class='wst-tbar-group' style='text-align:right'>-->
            <!--<span></span>-->
            <!--<button class="btn btn-default" type="button" style="padding: 6px 12px;height: 30px;line-height: 16px;margin-top: 0px;cursor: pointer;" id="toAddSchedule">新增</button>&nbsp;-->
            <!--</div>-->

            <table class='wst-list table1 '>
                <thead>
                <tr>

                    <th width="230">开始</th>
                    <th width="230">结束</th>
                    <th width="230">价格</th>



                </tr>
                </thead>
                <tbody>
                <?php if(is_array($monPrice)): $i = 0; $__LIST__ = $monPrice;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="priceTr">
                        <td style="display:none;" class="priceId"><?php echo ($vo['priceId']); ?></td>
                        <td class="priceStartTime"><?php echo WSTFloatToTime($vo['periodStart']);?></td>
                        <td class="tomCheck" style="display:none"><?php echo ($vo['isTom']); ?></td>
                        <td class="priceEndTime"><?php if($vo['isTom'] == 1): ?>次日<?php else: ?>今日<?php endif; echo WSTFloatToTime($vo['periodEnd']);?></td>
                        <td class = "periodPrice" ><?php echo ($vo['price']); ?><span class=" selectedFlag hidden pull-right glyphicon glyphicon-ok"></span></td>
                        <td style = "display:none" class="action">1</td>

                    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                <tfoot>
                </tfoot>
                </tbody>
            </table>
        </div>

        <div class='wst-tab-item' style="position: relative;style='display:none'">
            <table class='wst-list table2'>
                <thead>
                <tr>

                    <th width="230">开始</th>
                    <th width="230">结束</th>
                    <th width="230">价格</th>




                </tr>
                </thead>
                <tbody>
                <?php if(is_array($tuePrice)): $i = 0; $__LIST__ = $tuePrice;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="priceTr">
                        <td style="display:none;" class="priceId"><?php echo ($vo['priceId']); ?></td>
                        <td class="priceStartTime"><?php echo WSTFloatToTime($vo['periodStart']);?></td>
                        <td class="tomCheck" style="display:none"><?php echo ($vo['isTom']); ?></td>
                        <td class="priceEndTime"><?php if($vo['isTom'] == 1): ?>次日<?php else: ?>今日<?php endif; echo WSTFloatToTime($vo['periodEnd']);?></td>
                        <td class = "periodPrice" ><?php echo ($vo['price']); ?><span class=" selectedFlag hidden pull-right glyphicon glyphicon-ok"></span></td>
                        <td style = "display:none" class="action">2</td>

                    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                <tfoot>
                </tfoot>
                </tbody>
            </table>
        </div>
        <div class='wst-tab-item' style="position: relative;style='display:none'">
            <table class='wst-list table3'>
                <thead>
                <tr>

                    <th width="230">开始</th>
                    <th width="230">结束</th>
                    <th width="230">价格</th>




                </tr>
                </thead>
                <tbody>
                <?php if(is_array($wedPrice)): $i = 0; $__LIST__ = $wedPrice;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="priceTr">
                        <td style="display:none;" class="priceId"><?php echo ($vo['priceId']); ?></td>
                        <td class="priceStartTime"><?php echo WSTFloatToTime($vo['periodStart']);?></td>
                        <td class="tomCheck" style="display:none"><?php echo ($vo['isTom']); ?></td>
                        <td class="priceEndTime"><?php if($vo['isTom'] == 1): ?>次日<?php else: ?>今日<?php endif; echo WSTFloatToTime($vo['periodEnd']);?></td>
                        <td class = "periodPrice" ><?php echo ($vo['price']); ?><span class=" selectedFlag hidden pull-right glyphicon glyphicon-ok"></span></td>
                        <td style = "display:none" class="action">3</td>

                    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                <tfoot>
                </tfoot>
                </tbody>
            </table>
        </div>
        <div class='wst-tab-item' style="position: relative;style='display:none'">
            <table class='wst-list table4'>
                <thead>
                <tr>

                    <th width="230">开始</th>
                    <th width="230">结束</th>
                    <th width="230">价格</th>



                </tr>
                </thead>
                <tbody>
                <?php if(is_array($thuPrice)): $i = 0; $__LIST__ = $thuPrice;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="priceTr">
                        <td style="display:none;" class="priceId"><?php echo ($vo['priceId']); ?></td>
                        <td class="priceStartTime"><?php echo WSTFloatToTime($vo['periodStart']);?></td>
                        <td class="tomCheck" style="display:none"><?php echo ($vo['isTom']); ?></td>
                        <td class="priceEndTime"><?php if($vo['isTom'] == 1): ?>次日<?php else: ?>今日<?php endif; echo WSTFloatToTime($vo['periodEnd']);?></td>
                        <td class = "periodPrice" ><?php echo ($vo['price']); ?><span class=" selectedFlag hidden pull-right glyphicon glyphicon-ok"></span></td>
                        <td style = "display:none" class="action">4</td>

                    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                <tfoot>
                </tfoot>
                </tbody>
            </table>
        </div>
        <div class='wst-tab-item' style="position: relative;style='display:none'">
            <table class='wst-list table5'>
                <thead>
                <tr>

                    <th width="230">开始</th>
                    <th width="230">结束</th>
                    <th width="230">价格</th>




                </tr>
                </thead>
                <tbody>
                <?php if(is_array($friPrice)): $i = 0; $__LIST__ = $friPrice;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="priceTr">
                        <td style="display:none;" class="priceId"><?php echo ($vo['priceId']); ?></td>
                        <td class="priceStartTime"><?php echo WSTFloatToTime($vo['periodStart']);?></td>
                        <td class="tomCheck" style="display:none"><?php echo ($vo['isTom']); ?></td>
                        <td class="priceEndTime"><?php if($vo['isTom'] == 1): ?>次日<?php else: ?>今日<?php endif; echo WSTFloatToTime($vo['periodEnd']);?></td>
                        <td class = "periodPrice" ><?php echo ($vo['price']); ?><span class=" selectedFlag hidden pull-right glyphicon glyphicon-ok"></span></td>
                        <td style = "display:none" class="action">5</td>

                    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                <tfoot>
                </tfoot>
                </tbody>
            </table>
        </div>
        <div class='wst-tab-item' style="position: relative;style='display:none'">
            <table class='wst-list table6'>
                <thead>
                <tr>

                    <th width="230">开始</th>
                    <th width="230">结束</th>
                    <th width="230">价格</th>




                </tr>
                </thead>
                <tbody>
                <?php if(is_array($satPrice)): $i = 0; $__LIST__ = $satPrice;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="priceTr">
                        <td style="display:none;" class="priceId"><?php echo ($vo['priceId']); ?></td>
                        <td class="priceStartTime"><?php echo WSTFloatToTime($vo['periodStart']);?></td>
                        <td class="tomCheck" style="display:none"><?php echo ($vo['isTom']); ?></td>
                        <td class="priceEndTime"><?php if($vo['isTom'] == 1): ?>次日<?php else: ?>今日<?php endif; echo WSTFloatToTime($vo['periodEnd']);?></td>
                        <td class = "periodPrice" ><?php echo ($vo['price']); ?><span class=" selectedFlag hidden pull-right glyphicon glyphicon-ok"></span></td>
                        <td style = "display:none" class="action">6</td>

                    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                <tfoot>
                </tfoot>
                </tbody>
            </table>
        </div>
        <div class='wst-tab-item' style="position: relative;style='display:none'">
            <table class='wst-list  table7'>
                <thead>
                <tr>

                    <th width="230">开始</th>
                    <th width="230">结束</th>
                    <th width="230">价格</th>




                </tr>
                </thead>
                <tbody>
                <?php if(is_array($sunPrice)): $i = 0; $__LIST__ = $sunPrice;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="priceTr">
                        <td style="display:none;" class="priceId"><?php echo ($vo['priceId']); ?></td>
                        <td class="priceStartTime"><?php echo WSTFloatToTime($vo['periodStart']);?></td>
                        <td class="tomCheck" style="display:none"><?php echo ($vo['isTom']); ?></td>
                        <td class="priceEndTime"><?php if($vo['isTom'] == 1): ?>次日<?php else: ?>今日<?php endif; echo WSTFloatToTime($vo['periodEnd']);?></td>
                        <td class = "periodPrice" ><?php echo ($vo['price']); ?><span class=" selectedFlag hidden pull-right glyphicon glyphicon-ok"></span></td>
                        <td style = "display:none" class="action">7</td>

                    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                <tfoot>
                </tfoot>
                </tbody>
            </table>
        </div>
    </div>
</div>